﻿@{
    ViewBag.Title = "Home Page";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
            </hgroup>
            @ViewBag.Message
            <p>General Count: @ViewBag.Count</p>
            <p>For Add: @ViewBag.Add</p>
            <p>For Del: @ViewBag.Del</p>
            <p>For GetById: @ViewBag.GetById</p>
            <p>Is update: @ViewBag.IsUpdate</p>
        </div>
    </section>
}
@model IEnumerable<MvcAppFinal1.Models.OMS.Domain.Model.User>
@{
    ViewBag.Title = "Users";
}

<table>
    <tr>
        <th></th>
        <th>ID</th>
        <th>Login</th>

    </tr>
    @foreach (var item in Model)
    { 
        <tr>
            <td></td>
            <td>
                @Html.DisplayFor(modelItem => item.UserId)
            </td>
            
            <td>
                @Html.DisplayFor(modelItem => item.LoginName)
            </td>
        </tr>
    }
</table>
